home *** CD-ROM | disk | FTP | other *** search
- Path: newsroom.hitc.com!kfreeman
- From: kfreeman@mandrake.HITC.COM (Keith Freeman)
- Newsgroups: comp.lang.c++
- Subject: Re: [Q] Template instantiation
- Date: 15 Mar 1996 17:32:06 GMT
- Organization: Hughes Team (EOSDIS)
- Message-ID: <KFREEMAN.96Mar15123206@mandrake.HITC.COM>
- References: <37116784wnr@parkbayl.demon.co.uk>
- NNTP-Posting-Host: mandrake.hitc.com
- In-reply-to: Martin Bayly's message of Fri, 01 Mar 1996 12:14:50 GMT
-
- >
- > Queue<Node<int>> myQueue; // Crazy as it may seem
- > // this doesn't work
-
- Without actually compiling, I'm pretty sure you need to separate the
- '>' symbols:
-
- Queue< Node<int> > myQueue;
-
- The compiler sees the >> as the stream extraction operator (maximum
- munch and all that).
-
- keith freeman
- kfreeman@eos.hitc.com
-